home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / game / shoot / ADoomPPC.readme < prev    next >
Text File  |  2001-01-03  |  34KB  |  971 lines

  1. Short:    Amiga PPC port of ADoom v1.7
  2. Author:   Jarmo Laakkonen (jami.laakkonen@kolumbus.fi
  3. Uploader: Jarmo Laakkonen (jami.laakkonen@kolumbus.fi)
  4. Type:     game/shoot
  5. Action:   NoStart
  6.  
  7. ==========================================================================
  8.                          ADoom PPC 1.7
  9. ==========================================================================
  10.  
  11. Version 1.7 by Jarmo Laakkonen (jami.laakkonen@kolumbus.fi) based on
  12. the version 1.3 by Joseph Fenton. Read the section "History" to see
  13. what has changed since version 1.3.
  14.  
  15. Based on the code by Peter McGavin
  16.  
  17. Please do not contact Joseph Fenton about this version. He has nothing to
  18. do with it. Contact only me (Jarmo Laakkonen) in case of problems.
  19.  
  20. 07.11.2000
  21.  
  22. ==========================================================================
  23.  
  24. This archive contains a PPC port of Peter McGavin's ADoom.
  25.  
  26. ADoom is a port of ID Software's Linux DOOM.  You can get the original
  27. ID Software Linux DOOM source from:
  28.  
  29.    ftp://ftp.cdrom.com/pub/idgames/idstuff/source/doomsrc.zip
  30.  
  31. Source code for ADoomPPC is in a seperate archive available on AmiNet
  32. and Amiga DOOM sites.
  33.  
  34. ADoomPPC multitasks and complies with PowerUP and WarpOS PPC standards; it
  35. uses an Amiga standard library for high-quality sound effects and music.
  36.  
  37. ADoomPPC uses ASL to request the screen mode unless overridden by
  38. the user in the parameters.  ECS & OCS are not supported and AGA is
  39. not recommended, but allowed.
  40.  
  41. ADoomPPC allows the selection of resolutions higher than 320x200.
  42. Resolutions up to 1600x1280 are allowable, but require a fast PPC.
  43. For people who really need the speed, low detail mode is also
  44. supported.
  45.  
  46. All the features of ADoom 1.2 are supported by ADoomPPC; these
  47. include: DeHackEd file support (.DEH config files), IPX, TCP/IP,
  48. null modem cable link-up, frames-per-second display, and auto-map
  49. on the heads-up display.
  50.  
  51. ADoomPPC 1.3 adds native AGA support; AGA graphics are nearly the
  52. same speed as a video card! It also makes the save games compatible
  53. with ADoom (and other DOOM conversions).
  54.  
  55. ADoomPPC 1.4 adds a WarpOS executable with chunkyppc.library suppport
  56. and some bugfixes in the PowerUP version.
  57.  
  58. ADoomPPC 1.5 and 1.6 are mainly bug fix releases.
  59.  
  60. Installation
  61. ============
  62.  
  63. Copy ADoomPPC to any drawer you wish.  If you have gotten the MIDI
  64. instruments file (available in another archive due to its size), copy
  65. it to the same drawer.
  66.  
  67. Included are two libraries for playing music and sound effects.
  68. Copy doomsound.library to your libs: drawer if you have a 68040/PPC
  69. combo card; copy doomsound.library.060 as doomsound.library to your
  70. libs: drawer if you have a 68060/PPC combo card.  The only difference
  71. between the two is that the normal version uses a quad multiply for
  72. pitch bending and the 060 version uses a floating point multiply.  The
  73. normal version WILL work on the 060; it is just slightly slower.
  74.  
  75. If you do not copy one of the two libraries into the libs: drawer,
  76. you will only get 4 channel, non-panned sound effects.
  77.  
  78. Copy a WAD file to the same drawer; if you wish to use the WAD file in
  79. a different drawer, see the instructions concerning WAD files below.
  80.  
  81. Requirements
  82. ============
  83.  
  84. ADoomPPC requires an Amiga PPC accelerator with ppc.library v45.13
  85. or powerpc.library v15 and OS 3.0 or newer.
  86.  
  87. ADoomPPC requires AGA video or a graphics card (recommended).
  88.  
  89. ADoomPPC requires a WAD file compatible with DOOM for the PC or
  90. Macintosh; Hastings is selling a compilation of The Ultimate DOOM,
  91. DOOM II, and Final DOOM for around $20 (US); get it.  Only whimps
  92. use the shareware wad file.
  93.  
  94. The WarpOS version of ADoomPPC supports chunkyppc.library, but it's
  95. not required.
  96.  
  97. WAD Files
  98. =========
  99.  
  100. WAD files must be in the program directory or in the directory
  101. specified by the environment variable DOOMWADDIR.  E.G.,
  102.  
  103.    SetEnv DOOMWADDIR "GAMES:DOOM/WAD_FILES/"
  104.  
  105. will check GAMES:DOOM/WAD_FILES/ for the WAD files.
  106.  
  107. The -waddir option can also be used to specify the directory of the
  108. main WAD file.  E.G.,
  109.  
  110.    ADoomPPC -waddir WAD_FILES/
  111.  
  112. will check the directory WAD_FILES relative to the current directory
  113. for a main WAD file.  The '/' is optional.  The path may also be an
  114. absolute path like in the environment example above.
  115.  
  116. Some older Registered WAD files may not work due to later changes
  117. made to the WAD file contents.
  118.  
  119. It is possible to upgrade at least some old main WAD files using
  120. freely available patches from ftp://ftp.idsoftware.com/idstuff/doom/.
  121. You need a PC to apply the patches.
  122.  
  123. Playstation WAD files do not work as they are split by level and
  124. compressed.
  125.  
  126. WAD files from games derived from DOOM (such as Heretic or Hexen)
  127. do not work due to differences in WAD contents.
  128.  
  129. The Ultimate DOOM WAD file must be named DOOMU.WAD to work.
  130.  
  131. Patch WAD Files
  132. ===============
  133.  
  134. Patch WAD files are used to change graphics, sounds, and level
  135. designs on DOOM; many are available on CDROM and the net.  A
  136. patch wad file is specified with ADoomPPC using the -file option.
  137. E.G., ADoomPPC -file DMINATOR.WAD (my personal favorite).
  138. Patch wads can only be used with the appropriate Registered
  139. WAD file (DOOM, DOOMU, or DOOM2).  Please read the readme that
  140. accompanies the patch wad for more specific information on the
  141. patch wad requirements.
  142.  
  143. A full path can be used with the -file option in case the patch
  144. wad is in another drawer.  Multiple patch wads may be specified.
  145. E.G.,
  146.  
  147.    ADoomPPC -file patch1.wad patch2.wad patch3.wad
  148.  
  149. Do not ask me about specific patch wads as I have neither to
  150. time nor the inclination to bother with them.
  151.  
  152. Disk Loading
  153. ============
  154.  
  155. ADoomPPC is faster when some kind of disk cacheing is used. Either
  156. a disk cache program such as DynamiCache, or the use of AddBuffers
  157. make a tremendous difference in the performance of ADoomPPC.
  158. AddBuffers is used as follows:
  159.  
  160.    AddBuffers GAMES: 1024
  161.  
  162. where you substitute the name of the partition ADoomPPC is on for
  163. GAMES:.  I recommend adding at least 500 buffers; the more the
  164. better.  In fact, if you have enough RAM, copy the WAD file to
  165. RAM: for the best speed.
  166.  
  167. PPC Specifics
  168. =============
  169.  
  170. The bus clock controls the timing in ADoomPPC; if it is not set to
  171. the right value, ADoomPPC may run funny and the FPS counter will be
  172. inaccurate.  The bus clock is automatically computed at the start
  173. using information supplied by the ppc.library.  If the information
  174. is not correct (some versions of the ppc.library return the wrong
  175. clock information on newer PPC accelerators), you can override the
  176. computed value; to do this, specify -bus <frequncy>.  E.G.,
  177.  
  178.    ADoomPPC -bus 40000000
  179.  
  180. runs ADoomPPC with the bus clock set to 40MHz.
  181.  
  182. ChunkyPPC
  183. =========
  184.  
  185. ChunkyPPC support can be activated with the option -chunkyppc.
  186. ChunkyPPC support is only available in the WarpOS version of ADoomPPC.
  187.  
  188. chunkyppc.library supports the following enviroment variables,
  189.  
  190. ADoomWOS/dbuf:
  191.  
  192. Use Doublebuffering
  193.  
  194. ADoomWOS/oldstyle
  195.  
  196. If this is set, ScrollVPort will be used, else Triple Buffering using
  197. ScreenBuffers.
  198.  
  199. ADoomWOS/wb
  200.  
  201. If this is set, a Workbench Window will be used, not a screen
  202.  
  203. ADoomWOS/pip
  204.  
  205. If this is set, a Picture in Picture will be used using the Picasso96API.library.
  206. Note: Not all Graphics Boards Support this. Currently only P96 PIP is supported,
  207. not CGX. Maybe in the future...
  208.  
  209. ADoomWOS/pipnoclear
  210.  
  211. If this is set to 1, the PIP won't be cleared when opened.
  212.  
  213. ADoomWOS/rtgmaster
  214.  
  215. Use rtgmaster Screenmode Requester instead of ASL one. rtgmaster.library
  216. will only be opened when this option is set, so that rtgmaster.library
  217. does not need to be installed to be able to use chunkyppc.library.
  218.  
  219. ADoomWOS/resize
  220.  
  221. Set Resizing Factor of PIP (from 1.0 to whatever... does not need to be
  222. an integer number...)
  223.  
  224. ADoomWOS/likecgx
  225.  
  226. If you want CGX-like WB Window Support for P96 (Faster, but Window Borders
  227. disappear). For CGX it is automatically set, as it is the only possible
  228. method for CGX to reach (at least for 16 Bit) WB Window Support, for P96
  229. it is optional.
  230.  
  231. lockingmode:
  232.  
  233. Set this to 0 for best performance on gfx cards.
  234.  
  235. Resolution
  236. ==========
  237.  
  238. The default resolution for ADoomPPC is 320x200 and is the fastest
  239. resolution to run in.  If you have more CPU power than you know
  240. what to do with, you can run ADoomPPC in higher resolutions by
  241. using the -width & -height options.  E.G.,
  242.  
  243.    ADoomPPC -width 640 -height 480
  244.  
  245. runs ADoomPPC in 640x480 resolution; select a 640x480 display
  246. mode when the ASL screenmode requester appears.
  247.  
  248. The resolution must be a multiple of 64 for AGA graphics, and
  249. 32 for graphics cards.
  250.  
  251. Pressing F5 toggles between high detail and low detail in any
  252. resolution.
  253.  
  254. The maximum resolution is 1600x1280.  Don't bother unless you
  255. have a 275MHz G3 PPC.
  256.  
  257. Note that certain resolutions may overflow the cache, slowing
  258. the performance of the game.
  259.  
  260. The following table was done by Peter McGavin.  It shows for each
  261. standard resolution how many pixels can be rendered vertically in
  262. the cache and whether it's expected to be fast or not on a 603e or
  263. 604e. O means yes, x means no.
  264.  
  265.  Resolution  Pix in cache  Fast or not
  266.    W    H     603e  604e   603e  604e
  267. -------------------------------------
  268.   320x 200     256   512     O     O
  269.   320x 240     256   512     O     O
  270.   352x 220     512  1024     O     O
  271.   352x 264     512  1024     O     O
  272.   384x 240     128   256     x     O
  273.   384x 288     128   256     x     x
  274.   416x 260     512  1024     O     O
  275.   416x 312     512  1024     O     O
  276.   448x 280     256   512     x     O
  277.   448x 336     256   512     x     O
  278.   480x 300     512  1024     O     O
  279.   480x 360     512  1024     O     O
  280.   512x 320      32    64     x     x
  281.   512x 384      32    64     x     x
  282.   544x 340     512  1024     O     O
  283.   544x 408     512  1024     O     O
  284.   576x 360     256   512     x     O
  285.   576x 432     256   512     x     O
  286.   608x 380     512  1024     O     O
  287.   608x 456     512  1024     O     O
  288.   640x 400     128   256     x     x
  289.   640x 480     128   256     x     x
  290.   672x 420     512  1024     O     O
  291.   672x 504     512  1024     O     O
  292.   704x 440     256   512     x     O
  293.   704x 528     256   512     x     x
  294.   736x 460     512  1024     O     O
  295.   736x 552     512  1024     x     O
  296.   768x 480      64   128     x     x
  297.   768x 576      64   128     x     x
  298.   800x 500     512  1024     O     O
  299.   800x 600     512  1024     x     O
  300.   832x 520     256   512     x     x
  301.   832x 624     256   512     x     x
  302.   864x 540     512  1024     x     O
  303.   864x 648     512  1024     x     O
  304.   896x 560     128   256     x     x
  305.   896x 672     128   256     x     x
  306.   928x 580     512  1024     x     O
  307.   928x 696     512  1024     x     O
  308.   960x 600     256   512     x     x
  309.   960x 720     256   512     x     x
  310.   992x 620     512  1024     x     O
  311.   992x 744     512  1024     x     O
  312.  1024x 640      16    32     x     x
  313.  1024x 768      16    32     x     x
  314.  1056x 660     512  1024     x     O
  315.  1056x 792     512  1024     x     O
  316.  1088x 680     256   512     x     x
  317.  1088x 816     256   512     x     x
  318.  1120x 700     512  1024     x     O
  319.  1120x 840     512  1024     x     O
  320.  1152x 720     128   256     x     x
  321.  1152x 864     128   256     x     x
  322.  1184x 740     512  1024     x     O
  323.  1184x 888     512  1024     x     O
  324.  1216x 760     256   512     x     x
  325.  1216x 912     256   512     x     x
  326.  1248x 780     512  1024     x     O
  327.  1248x 936     512  1024     x     O
  328.  1280x 800      64   128     x     x
  329.  1280x 960      64   128     x     x
  330.  1312x 820     512  1024     x     O
  331.  1312x 984     512  1024     x     O
  332.  1344x 840     256   512     x     x
  333.  1344x1008     256   512     x     x
  334.  1376x 860     512  1024     x     O
  335.  1376x1032     512  1024     x     x
  336.  1408x 880     128   256     x     x
  337.  1408x1056     128   256     x     x
  338.  1440x 900     512  1024     x     O
  339.  1440x1080     512  1024     x     x
  340.  1472x 920     256   512     x     x
  341.  1472x1104     256   512     x     x
  342.  1504x 940     512  1024     x     O
  343.  1504x1128     512  1024     x     x
  344.  1536x 960      32    64     x     x
  345.  1536x1152      32    64     x     x
  346.  1568x 980     512  1024     x     O
  347.  1568x1176     512  1024     x     x
  348.  1600x1000     256   512     x     x
  349.  1600x1200     256   512     x     x
  350.  
  351. To avoid cache overflow, the -mmu option may be used to allocate
  352. the screen buffers with the memory mapped as non-cacheable by
  353. the ppc.library.  E.G.,
  354.  
  355.    ADoomPPC -width 640 -height 480 -mmu
  356.  
  357. allocates the screen buffers for a 640x480 display and makes it
  358. non-cacheable.
  359.  
  360. Music
  361. =====
  362.  
  363. ADoomPPC uses the doomsound.library to play music.  If the library
  364. is not present, or if the MIDIInstruments file cannot be found,
  365. music is not available in ADoomPPC.  The doomsound.library supports
  366. 16 stereo panned sound effects and 16 channels of stereo music;
  367. if the library is not present; only 4 channel, non-stereo sound
  368. effects will be played.  To get no sound effects or music, use
  369. the -nosfx option.  To get only sound effects, do not use -nosfx
  370. and -music; to get sound effects and music, use -music and do not
  371. use -nosfx.
  372.  
  373. The MIDIInstruments file is very big and is in another archive.
  374.  
  375. Keyboard
  376. ========
  377.  
  378. The keys are generally mapped the same as on a PC.  On the Amiga,
  379. use '[' or Del for F11, ']' for F12, and Help for Pause.
  380.  
  381. The keymap may be customized by changing the .doomrc file.
  382.  
  383. The Right Amiga key sends the same code as Ctrl and the Left Amiga
  384. key is disabled so that Intuition commands (like screen flipping)
  385. may be done without ADoomPPC trying to use the key.
  386.  
  387. By default, the numeric keypad controls the player movement;
  388. 4, 5, 6 and 8 control movement and turning; 1, 3, 7, and 9
  389. are used for strafe.  '<', ',', '>', and '.' can also be used
  390. for strafe.  All key mappings can be changed in the .doomrc.
  391.  
  392. Use the -rawkey option for use of raw keycodes rather than translated
  393. keycodes.
  394.  
  395. Mouse
  396. =====
  397.  
  398. To use the mouse with ADoomPPC, use the -mouse option.  This slows
  399. the game down while enabled.
  400.  
  401. CD32 Joypad
  402. ===========
  403.  
  404. If the lowlevel.library is present, the -joypad option enables the
  405. CD32 joypad for ADoomPPC.  Red is Fire, Blue is Action, Yellow is
  406. Fast, Green is Return, Start/Pause is Esc, and Forward & Reverse
  407. are strafe.
  408.  
  409. SEGA Genesis Controller
  410. =======================
  411.  
  412. To use a SEGA Genesis controller, use the -sega3 option for a three
  413. button Genesis controller, and the -sega6 option for a six button
  414. Genesis controller.
  415.  
  416. The button mapping is as follows:
  417. Start = Space (Action)
  418. A     = Strafe Right
  419. B     = Fire
  420. C     = Strafe Left
  421. On the 6 button controller you also get
  422. Mode  = Esc (Menu)
  423. X     = Return (Enter/Show last message)
  424. Y     = Shift (Fast/Run)
  425. Z     = Tab (Map on/off)
  426.  
  427. A Sega Genesis controller may be use on the Amiga as long
  428. as you swap lines 5 & 7, and put a 470 ohm resistor
  429. between lines 5 & 7.
  430.  
  431. The controller plug pinout is:
  432.      1   2   3   4   5
  433.         6   7   8   9
  434.  
  435. The best way to switch the lines is to open up the
  436. controller and change them on the circuit card.
  437. Note: doing this will make the controller incompatible
  438. with SEGA equipment; if you make the changes, you
  439. are on your own; I will not be held responsible for any
  440. damage incurred by performing the above procedure.
  441. If you aren't comfortable doing your own conversion
  442. and don't know anyone who can help, DON'T TRY IT!
  443. Get yourself a CD32 joypad.  This is ONLY for people
  444. who know what they are doing and want the range of
  445. controllers available for SEGA equipment.
  446.  
  447. Disabling joystick
  448. ==================
  449.  
  450. To disable joystick reading use the -nojoy option.
  451. This should give a slight speed increase.
  452.  
  453. Specifying the Screenmode
  454. =========================
  455.  
  456. If you do not want the ASL screenmode requester every time you run
  457. ADoomPPC, you can specify the screenmode you want using the -screenmode
  458. option.  E.G.,
  459.  
  460.    ADoomPPC -screenmode $40420007
  461.  
  462. If you are not sure what the screenmode ID is, run ADoomPPC without
  463. the -screenmode option, select the screenmode you wish to use, then
  464. check the mode ID printed to ADoomPPC's output window or the CLI if
  465. you ran it from a CLI.
  466.  
  467. Memory
  468. ======
  469.  
  470. ADoomPPC automatically caches game information in a memory block
  471. allocated when the program is run.  The default is to try to allocate
  472. 6MB of RAM.  You can override this with the -heapsize option.  E.G.,
  473.  
  474.    ADoomPPC -heapsize 2048
  475.  
  476. runs ADoomPPC with 2048KB (or 2MB for those not familiar with base
  477. 16); selecting less memory makes ADoomPPC go to the harddrive more
  478. often, slowing down gameplay; selecting too little memory may cause
  479. the game to error out.
  480.  
  481. FPS Counter
  482. ===========
  483.  
  484. Use the -fps option to get a frames-per-second display in the upper
  485. right hand corner of the display.  This shows the speed of rendering
  486. at that particular moment.  The proper way to get the average speed
  487. of DOOM is to do the following:
  488.  
  489.    ADoomPPC -forcedemo -timedemo demo3
  490.  
  491. with the DOOM window set to 2 steps below maximum.  The speed is
  492. calculated using the formula:
  493.  
  494.    FPS = gameticks / realticks * 35
  495.  
  496. My 150MHz 603e+ gets about 28 FPS on my Spectrum card, and about 31
  497. FPS on my CV3D card.
  498.  
  499. Remember, the FPS Counter will not be accurate if the bus clock is
  500. not set to the proper value.
  501.  
  502. Rotating Map and Map On Heads Up Display
  503. ========================================
  504.  
  505. Use the -maponhu option to have the automap displayed on the main 3D
  506. view window, and use the -rotatemap option to have the automap rotate
  507. as the player turns.
  508.  
  509. You can toggle through various map types by pressing 'z' while the map
  510. is displayed.
  511.  
  512. DeHackEd
  513. ========
  514.  
  515. DeHackEd is a PC program that patches certain internal tables inside
  516. DOOM so that certain effects can be achieved; these include, a rapid
  517. fire shotgun, floating barrels, and many other things.
  518.  
  519. ADoomPPC supports the use of DeHackEd configuration files; they have
  520. a .DEH extension on them.  To use them, use the -deh option. E.G.,
  521.  
  522.    ADoomPPC -deh TURBO.DEH
  523.  
  524. Many DEH files are available on the net.  Not all the features in DeHackEd
  525. are supported.  Do not bug me about any additional features you want; I have
  526. neither the time nor the inclination to add more features.  The original
  527. author of the DeHackEd support is Cyril Deble <Cyril.Deble@inforoute.cgs.fr>.
  528. Bug him about it. :^}
  529.  
  530. NetWorking
  531. ==========
  532.  
  533. ADoomPPC supports three types of networking: TCP/IP, IPX, and raw null-
  534. modem.  I have not had the chance to test these yet.
  535.  
  536. ADoomPPC generates ALOT of network traffic, so use a fast connection.
  537. Having one slow machine connected slows everyone down.
  538.  
  539. The following is from the ADoom readme by Peter McGavin:
  540.  
  541. TCP/IP:
  542. -------
  543.  
  544. AmiTCP networking in ADoom is based on the Linux DOOM source code.  It
  545. works between Amigas and also with Linux PCs using TCP/IP on a fast
  546. network.  You need either AmiTCP or Miami on your Amiga for it to
  547. work.  Make sure you are using a recent version of AmiTCP or Miami.
  548. Fast Amigas and a fast connection help a lot too.  It's best over
  549. ethernet and OK over AmigaLink.  It works over a serial line with SLIP
  550. or PPP too, but people with 68030s reported unplayably poor
  551. performance.
  552.  
  553. TCP/IP does not work to PCs running MSDOS or Win95, unless perhaps you
  554. can find a PC version of DOOM compiled from the Linux source code
  555. which supports TCP/IP.  Several people told me Win95Doom TCP/IP does
  556. not work with ADoom.
  557.  
  558. To start ADoom across 2 computers called fred and bob, say:
  559.  
  560.   1:  Make certain both computers are using identical WAD files;
  561.  
  562.   2:  Make certain you can PING fred from bob and vice versa;
  563.  
  564.   3:  On bob, enter:    "ADoom -net 1 fred"
  565.  
  566.   4:  On fred, enter:   "ADoom -net 2 bob"
  567.  
  568.  
  569. If there are 3 computers, called fred, bob and sue, say:
  570.  
  571.   1:  Make certain all 3 computers are using identical WAD files;
  572.  
  573.   2:  Make certain you can PING between all computers by name;
  574.  
  575.   3:  On bob, enter:    "ADoom -net 1 fred sue"
  576.  
  577.   4:  On fred, enter:   "ADoom -net 2 bob sue"
  578.  
  579.   5:  On sue, enter:    "ADoom -net 3 fred bob"
  580.  
  581.  
  582. It's normal for screens to go blank sometimes during the startup phase.
  583.  
  584. On Linux I used DOOM compiled from the source code available from:
  585.  
  586.    ftp://ftp.cdrom.com/pub/idgames/idstuff/source/doomsrc.zip
  587.  
  588.  
  589. I don't know whether other Linux DOOM implementations are compatible.
  590.  
  591. So far I have tested up to 3 computers.  The code is pretty untested
  592. and your mileage may vary.
  593.  
  594.  
  595.  
  596. IPX:
  597. ----
  598.  
  599. IPX is the ethernet protocol used by MSDOS versions of DOOM.  ADoom
  600. uses G.J.Peltenburg's amipx.library version 1.1 or higher for IPX.
  601. You can get this library from Aminet.  After several evenings of
  602. struggling with the library and with checksums and
  603. big-endian/little-endian problems and with version number problems,
  604. the protocol finally seems to work, sort of...
  605.  
  606. Unfortunately I did not foresee another problem.  The PC version of
  607. the DOOM program I've tried so far does not exactly match Linux DOOM,
  608. even when using exactly the same WAD file.  In my experience, the game
  609. often gets out of sync (consistency failure) or quits unexpectedly.
  610. So far I've only used DOOM2 version 1.666 on the PC.  Perhaps version
  611. 1.9 would work better, because that's the PC version recommended for
  612. net-play with MacDOOM.
  613.  
  614. Between 2 fast Amigas, ADoom with IPX works reasonably well using
  615. a2065.device.  Hopefully it also works using ariadne.device and other
  616. Sana2 ethernet devices.
  617.  
  618. First you should install G.J.Peltenburg's amipx.library version 1.1 or
  619. higher (from Aminet) and configure your Network number, Node, Device
  620. driver, Unit number and Frame Type in amipx_prefs.  I use the Frame
  621. Type "Ethernet 802.2" and just set everything else to 0.
  622.  
  623. Note that you need amipx.library at least version 1.1.  Version 1.0
  624. doesn't work.  (Well, v1.0 might work with ariadne.device...)
  625.  
  626. The syntax for starting ADoom with IPX is:
  627.  
  628.   ADoom -netipx <number-of-nodes>
  629.  
  630. For example:
  631.  
  632.   ADoom -netipx 2
  633.  
  634. ADoom automatically waits until the number of nodes specified are
  635. found on the local ethernet, then starts the game.  You should all
  636. specify the same number of nodes and you should all use the same WAD
  637. files and other options.
  638.  
  639. So far I have tested up to 2 Amigas and 1 PC all at once.  The code is
  640. pretty untested and your mileage may vary.
  641.  
  642. If you try IPX between an Amiga and a PC, there are 2 more options you
  643. MUST know about.
  644.  
  645. The -pcchecksum option tells ADoom to calculate net packet checksums
  646. the same way the PC version does.  By default, ADoom calculates net
  647. packet checksums the same way Linux DOOM does, which is different.
  648. (Linux DOOM just sets the net packet checksum to 0.)  If you don't use
  649. -pcchecksum, the PC will reject and ignore (nearly) all game packets.
  650.  
  651. The -forceversion <number> option fools a PC into thinking you are
  652. running a particular version of DOOM.  I use -forceversion 106 with
  653. DOOM2 version 1.666, for example.  The default is -forceversion 110
  654. for version 1.10.  PC DOOM rejects any DOOM program that identifies
  655. itself as a different version number.  Sorry I don't know an easy way
  656. of working out what number you need after -forceversion to impersonate
  657. a particular version of PC DOOM.  Try -forceversion 109 with DOOM2
  658. version 1.9, perhaps.
  659.  
  660. I'm very interested to know your experiences with ADoom between PCs
  661. and Amigas using IPX.
  662.  
  663. I'm told ADoom works with MacDOOM over IPX too, by the way.
  664.  
  665. Thanks to G.J.Peltenburg for sending me the freely available IPX
  666. support source code from ID Software's ftp site, after modifying it
  667. for his amipx.library.
  668.  
  669.  
  670.  
  671. DIRECT NULL-MODEM:
  672. ------------------
  673.  
  674. So many people requested a raw null-modem protocol that I sat down and
  675. implemented it for version 0.9.  Well it was mainly an exercise to
  676. prepare myself for IPX.
  677.  
  678. It only works between 2 Amigas with the serial ports connected by a
  679. null-modem cable.  It uses 7-wire CTS/RTS handshaking, so a simple
  680. 3-conductor cable won't work.  I'm pretty sure null-modem won't work
  681. between an Amiga and a PC, because I made no attempt to match the
  682. protocol.  In other words, it requires 2 Amigas.
  683.  
  684. I suppose it would work between 2 Amigas over a telephone line with
  685. modems.  You would need to manually dial and make the connection
  686. first.  Then you would need to shutdown the connection program before
  687. starting ADoom.  The Hayes modem command at&d0 might be useful for
  688. leaving the modem on-line between shutting down the connection program
  689. and starting ADoom.
  690.  
  691. The ADoom syntax is:
  692.  
  693.   ADoom -netserial <node-number> <serialdevice> <unit> <speed>
  694.  
  695. For example, you could enter:
  696.  
  697.   ADoom -netserial 1 serial.device 0 38400
  698.  
  699. on one Amiga and
  700.  
  701.   ADoom -netserial 2 serial.device 0 38400
  702.  
  703. on the other.  One of the Amigas is always node 1 and the other one
  704. is always node 2.
  705.  
  706. It is not necessary to use serial.device.  In fact artser.device or
  707. 8n1.device, if you have them, probably work more reliably or at higher
  708. speeds than serial.device.
  709.  
  710. I think you should use the highest speed that both Amigas cope with.
  711. My experience is that 38400 is about the limit for 68030 Amigas.  My
  712. 68040 WarpEngine works OK with artser.device at 57600.  If you set the
  713. speed too high, ADoom will probably behave erratically or lock-up
  714. after a while.  If you set the speed too low, I suspect the game will
  715. run only very slowly.
  716.  
  717. The game tends to slow right down when there are lots of active
  718. monsters anyway.  Try -deathmatch -nomonsters perhaps.
  719.  
  720. I recommend you start ADoom on node 2 first.  That's because node 2 is
  721. the "listener" during the setup phase.  If you start ADoom on node 1
  722. first, ADoom on node 2 is likely to open serial.device while node 1 is
  723. part way through sending a setup packet.  That could lead to
  724. synchronisation problems and possible lockups.
  725.  
  726.  
  727.  
  728. CONSISTENCY FAILURE:
  729. --------------------
  730.  
  731. Several people reported their net games ended unexpectedly with a
  732. message like: "Error: consistency failure (24805 should be 24806)"
  733.  
  734. What's going on is that DOOM calculates a kind of checksum of the
  735. game's status --- player and monster positions and that kind of thing
  736. --- and sends it to all the other players in every net packet.  If all
  737. the programs and WADs are identical, then they all calculate exactly
  738. the same checksum.  However, if someone is using a slightly different
  739. WAD version or an incompatible version of DOOM, then a monster might
  740. be one more pixel to the left, say, and the result is "consistency
  741. failure".
  742.  
  743. The test is very precise.  All net nodes must run compatible versions
  744. of DOOM and all must use exactly the same WAD file and game options.
  745. To be compatible, 2 versions of DOOM must provide exactly the same
  746. features.  Furthermore, they must use exactly the same random number
  747. generator and they must round arithmetic calculations exactly the same
  748. way.
  749.  
  750. I have to be careful adding new features to ADoom.  For example, I
  751. can't use the random number generator for anything new, nor can I add
  752. any new features that might change player and monster positions.  If I
  753. optimise anything, I can't make any approximations.  Otherwise ADoom
  754. definitely won't work with PC DOOM any more.  Please keep this in mind
  755. if you send me source code for inclusion in ADoom.
  756.  
  757. (The ideal solution would be to compile DOOM for all different
  758. platforms, MSDOS, Win95, Mac, Linux, Amiga, PSX,... from a single
  759. source.  Then new features can be added simultaneously on all
  760. platforms.  Now there's a job for someone...)
  761.  
  762. I suspect "consistency failure" might also happen if you get network
  763. errors, such as serial line overruns.  Try lowering your serial line
  764. speed, and make sure hardware handshaking is working properly.  Also,
  765. if you all specify -pcchecksum things might be more reliable.  That's
  766. because the default Linux net packet checksum isn't really a checksum
  767. at all.  It's always 0.  So any errors in the net packet are not
  768. detected unless you all use -pcchecksum.  (The net packet checksum is
  769. different to the consistency checksum.)
  770.  
  771.  
  772. In the above, substitute ADoomPPC for ADoom.  I was too lazy to
  773. retype all the above. :^}
  774.  
  775.  
  776. Picasso96
  777. =========
  778.  
  779. ADoomPPC should work with the Picasso96 API as long as you don't
  780. specify -directcgx.  In fact, -directcgx slows down ADoomPPC, so
  781. don't use it unless you like running slower. :^}
  782.  
  783. Note from Jarmo Laakkonen:
  784. At least on my setup (603e-240MHz+BVision) directcgx is faster.
  785. ChunkyPPC is even faster than -directcgx when setting lockingmode
  786. to 0.
  787.  
  788. Graffiti
  789. ========
  790.  
  791. The Graffiti card is not yet supported, but I have written drivers
  792. for it for something else, so expect it in some revision of ADoomPPC.
  793.  
  794. WorkBench
  795. =========
  796.  
  797. If you use ELFLoadSeg (and you should), ADoomPPC can be run from Workbench.
  798. To get the options, set the tooltypes EXACTLY like if you were using it
  799. from a CLI.  E.G., if the CLI line is
  800.  
  801.    ADoomPPC -forcedemo -music -joypad -screenmode $40420007
  802.  
  803. the tooltypes should be
  804.  
  805.    -forcedemo
  806.    -music
  807.    -joypad
  808.    -screenmode
  809.    $40420007
  810.  
  811. Options that take a value directly after them should have that value
  812. in the tooltype IMMEDIATELY FOLLOWING the tooltype specifying the option
  813. (see -screenmode option above).
  814.  
  815. Bugs
  816. ====
  817.  
  818. Peter McGavin reports that the IPX only works in ADoomPPC if the PPC
  819. machine is the sender (lowest address on network).
  820.  
  821. You get one column of crap on the far left in the view for resolutions
  822. wider than 320; some resolutions don't put the border patch between the
  823. view and the status bar.
  824.  
  825. As far as I can tell, a bug in ppc.library v45.17 causes allocating
  826. memory as non-cacheable not to work.  I am working with Phase 5
  827. to fix the problem in a future revision of the library.  Until
  828. then, stick to a resolution that has an O next to it for your
  829. processor type.  Peter McGavin reports that this option DOES work
  830. on his brother's 604 PPC Amiga; you'll just have to try it on your
  831. own system to see if it works for you.
  832.  
  833. Also under v45.17, on my PPC (the developer card for the Mark 2 060),
  834. ADoomPPC crashes if the PPC accesses memory at certain locations.  Use
  835. the -heapsize option to lower memory if ADoomPPC crashes while doing
  836. the R_Init routine (watch the cli output).
  837.  
  838. Both problems are probably PPC MMU mapping bugs in ppc.library.
  839.  
  840. WWW Sites
  841. =========
  842.  
  843. There are several web pages specialising in DOOM for the Amiga.  Some
  844. good ones are:
  845.  
  846.     http://adoom.ml.org/     has about 6 other Amiga DOOM ports
  847.  
  848.     http://surf.to/adoom/    fast mirror of http://adoom.ml.org/
  849.  
  850.     http://homepages.which.net/~bartlett/    the Amiga DOOM Bible
  851.  
  852.     http://hem2.passagen.se/sids/adoom/    an ADoom-only page
  853.  
  854.     http://www.balldesi.demon.co.uk/    for the latest speed benchmarks
  855.  
  856.     http://www.boehme.demon.co.uk/aliens.html    some tested 3rd party WADs
  857.  
  858.     http://fiction.pb.owl.de/~frank/    for another PPC port of ADoom
  859.  
  860. and Aminet, of course.
  861.  
  862. History
  863. =======
  864.  
  865. 1.7 November 7, 2000
  866.  
  867. New serial routines suplied by Arto Huusko which should work with PC-Doom
  868. also. Let me know if it works or not.
  869. Patch WADs and automap now work correctly with the WarpOS version. Thanks
  870. to Achim Stegemann for finding these bugs.
  871.  
  872. 1.6 October 5, 2000
  873.  
  874. Saving now works when using the WarpOS version.
  875.  
  876. 1.5 October 3, 2000
  877.  
  878. Tooltypes are now supported in the WarpOS version.
  879. Save games are now compatible to version 1.3. Old 1.4 saves won't work
  880. any more. New option -nojoy disables joystick reading for a small speed
  881. increase.
  882.  
  883. 1.4 July 19, 2000
  884.  
  885. Added an WarpOS version with chunkyppc support. The WarpOS version supports
  886. everything except tooltypes. Fixed the pll calculation code in the PowerUP
  887. version. Fixed a possible crash under AGA.
  888.  
  889. 1.3 April 9, 1998
  890.  
  891. Added native AGA support with triple buffering; I get 24 FPS under
  892. NTSC Low-Res 320x200 and 9 FPS under NTSC High-Res 608x380.  Fixed
  893. problem with the sky not being vertically centered.  Made ADoomPPC
  894. save games compatible with the 68K version; this makes it incompatible
  895. with ADoomPPC 1.2.x version save games.  Fixed problem with doom-
  896. sound.library.060; you may or may not have noticed any trouble on
  897. ADoomPPC, but 060 versions of DOOM had trouble with it.
  898.  
  899.  
  900. 1.2.6 April 6, 1998
  901.  
  902. First public release.  Added -waddir option.  Fixed PCX screenshot header.
  903.  
  904.  
  905. 1.2.5 April 5, 1998
  906.  
  907. Not publicly released.  Finally fixed AMIPX.
  908.  
  909.  
  910. 1.2.3 April 3, 1998
  911.  
  912. Not publicly released.  Made another fix for AMIPX.  Now using
  913. ppc.library to set the bus clock instead of using a fixed default.
  914. Prints cpu type, cpu clock, PLL divisor, and bus clock on startup.
  915.  
  916. 1.2.1 April 2, 1998
  917.  
  918. Not publicly released.  Fixed a minor problem with low detail spans.
  919.  
  920.  
  921. 1.2  March 31, 1998
  922.  
  923. Not publicly released.  ADoomPPC uses the doomsound.library based
  924. on the ADoom_SndSrvr by yours truely.  Fixed the clipped sfx problem
  925. in the sound server and reversed the channels (had them backwards).
  926.  
  927. Fixed low detail problem with the Linux DOOM C code.  Tried PPC 
  928. assembly for R_DrawColumn and found it was only 10 ticks faster;
  929. went back to C code for column rendering.
  930.  
  931. Added -bus to set the bus clock for different PPC systems.
  932.  
  933. Added -mmu to allocate screen buffers as non-cacheable.  Thanks
  934. to Peter McGavin for all his work on PPC caches.
  935.  
  936. Acknowledgements
  937. ================
  938.  
  939. My thanks go to Peter McGavin for one of the finest ports of DOOM
  940. for the Amiga, and for making the code available so that I could do
  941. this version for the PPC.
  942.  
  943. My thanks go to Peter's brother for getting a PPC for his Amiga
  944. so that Peter could beta test ADoomPPC for me; especially all the
  945. networking.
  946.  
  947. My thanks go to Frank Wille for hints on linking and using PASM.
  948.  
  949. Thanks also go to the people who contributed to certain features in
  950. ADoom/ADoomPPC to help make it extra special.  You'll find them in
  951. the source code archives of both ADoom and ADoomPPC.  If you contibuted
  952. and want credit in this readme, email me. :^}
  953.  
  954. Thanks to John Carmack and ID Software for one of the best games ever!
  955.  
  956.  
  957. ============================= Archive contents =============================
  958.  
  959. Original  Packed Ratio    Date     Time    Name
  960. -------- ------- ----- --------- --------  -------------
  961.   676260  290823 56.9% 07-Nov-00 16:54:48 +ADoomPPC
  962.     4017     867 78.4% 19-Jul-00 21:19:48 +ADoomPPC.info
  963.    33337   13098 60.7% 07-Nov-00 17:04:50 +ADoomPPC.readme
  964.   477840  219002 54.1% 07-Nov-00 16:50:06 +ADoomWOS
  965.     4032     878 78.2% 03-Oct-00 14:53:14 +ADoomWOS.info
  966.    80680   30434 62.2% 26-Jun-00 18:31:02 +chunkyppc.library
  967.    14352    4899 65.8% 29-Mar-98 18:21:34 +doomsound.library
  968.    14520    5018 65.4% 09-Apr-98 19:15:28 +doomsound.library.060
  969. -------- ------- ----- --------- --------
  970.  1305038  565019 56.7% 10-Nov-100 22:37:18   8 files
  971.